package chapter1014;

import chapter1014.hero.Hero;
import chapter1014.item.Item;

import java.util.Scanner;

public class TestGameSys {
    public static void main(String[] args) {
        System.out.println("选择一个英雄 1. 盖伦 2.提莫");
        Scanner input = new Scanner(System.in);

        GameSys game = new GameSys(input.nextInt());

        System.out.println("你选择了" + game.myhero.getName());

        for(Item item : game.items){
            System.out.println(item);
        }

        game.myhero.buy(game.items[0]);
    }
}
